package com.kira.scaffoldmvc.POJO;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.ZonedDateTime;

public class GetFileOverview {
    private Integer code;
    private Data data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {
        private Image image;
        private Document document;
        private Video video;
        private Audio audio;
        private Other other;
        private Long used;
        private Long all;

        public Image getImage() {
            return image;
        }

        public void setImage(Image image) {
            this.image = image;
        }

        public Document getDocument() {
            return document;
        }

        public void setDocument(Document document) {
            this.document = document;
        }

        public Video getVideo() {
            return video;
        }

        public void setVideo(Video video) {
            this.video = video;
        }

        public Audio getAudio() {
            return audio;
        }

        public void setAudio(Audio audio) {
            this.audio = audio;
        }

        public Other getOther() {
            return other;
        }

        public void setOther(Other other) {
            this.other = other;
        }

        public Long getUsed() {
            return used;
        }

        public void setUsed(Long used) {
            this.used = used;
        }

        public Long getAll() {
            return all;
        }

        public void setAll(Long all) {
            this.all = all;
        }
    }

    public static class Image {
        private Integer size;
        @JsonProperty("latestDate")
        private String latestDateStr;

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public String getLatestDateStr() {
            return latestDateStr;
        }

        public void setLatestDateStr(String latestDateStr) {
            this.latestDateStr = latestDateStr;
        }
    }

    public static class Document {
        private Integer size;
        @JsonProperty("latestDate")
        private ZonedDateTime latestDate;

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public ZonedDateTime getLatestDate() {
            return latestDate;
        }

        public void setLatestDate(ZonedDateTime latestDate) {
            this.latestDate = latestDate;
        }
    }

    public static class Video {
        private Integer size;
        @JsonProperty("latestDate")
        private String latestDateStr;

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public String getLatestDateStr() {
            return latestDateStr;
        }

        public void setLatestDateStr(String latestDateStr) {
            this.latestDateStr = latestDateStr;
        }
    }

    public static class Audio {
        private Integer size;
        @JsonProperty("latestDate")
        private String latestDateStr;

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public String getLatestDateStr() {
            return latestDateStr;
        }

        public void setLatestDateStr(String latestDateStr) {
            this.latestDateStr = latestDateStr;
        }
    }

    public static class Other {
        private Integer size;
        @JsonProperty("latestDate")
        private ZonedDateTime latestDate;

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public ZonedDateTime getLatestDate() {
            return latestDate;
        }

        public void setLatestDate(ZonedDateTime latestDate) {
            this.latestDate = latestDate;
        }
    }
}